package com.jeequan.jeepay.pay.rqrs.payorder.payway;

import com.jeequan.jeepay.core.constants.CS;
import com.jeequan.jeepay.pay.rqrs.payorder.CommonPayDataRQ;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 *
 */
@Data
public class PmoApiOrderRQ extends CommonPayDataRQ {

    /**
     * M 取值 [vodafone, etisalat, orange, aman, bank_wallet, bank_card]
     */
    @NotBlank(message = "账号发行者不能为空")
    private String issuer;

    /**
     * C 11位电话号码：01020304050
     */
    private String msisdn;

    /**
     * C bank accounts/cards only
     */
    private String bankCardNumber;

    /**
     * bank accounts/cards only
     * 取值 [salary, credit_card, prepaid_card, cash_transfer]
     */
    private String bankTransactionType;

    /**
     * bank accounts/cards only
     */
    private String bankCode;

    /**
     * bank accounts/cards only
     */
    private String fullName;

    /**
     * aman only
     */
    private String firstName;

    /**
     * aman only
     */
    private String lastName;

    /**
     * aman only
     */
    private String email;


    public PmoApiOrderRQ() {
        this.setWayCode(CS.PAY_WAY_CODE.PAYMOB_PAYOUT_API);
    }
}
